<script>
  export default {
    render (h, cxt) {
      console.log(`${this.app}`)
      return h(require(`./components/${this.app}.vue`), {
        props: {
          prop: this.prop
        }
      })
    },
    props: {
      app: String,
      prop: Object
    },
    created() {
      console.log(this.app)
    }
  }
</script>
